﻿namespace Sidvall.Security
{
	public class PrincipalContextProvider : IPrincipalContextProvider
	{
		#region Public Members

		#region SessionContext

		private System.Lazy<System.Collections.Generic.Dictionary<string, object>> _SessionContext = new System.Lazy<System.Collections.Generic.Dictionary<string, object>>();
		public System.Collections.Generic.IDictionary<string, object> SessionContext
		{
			get
			{
				return _SessionContext.Value;
			}
		}

		#endregion

		#region ToString

		public override string ToString()
		{
			return "PrincipalContextProvider - Static Dictionary";
		}

		#endregion

		#endregion
		#region Constructors

		public PrincipalContextProvider()
		{
		}

		#endregion
	}
}
